import http from '@/utils/http/axios'
import { BasicResponseModel } from '@/api/model/baseModel'

/**
 * @description: 公司员工保存
 */
export function companySave(params: any) {
  return http.request<BasicResponseModel>({
    url: '/api/company/save',
    method: 'POST',
    params
  })
}
/**
 * @description: 公司名称列表
 */
export function companyNameList() {
  return http.request<BasicResponseModel>({
    url: '/api/company/name/list',
    method: 'GET'
  })
}
/**
 * @description: 公司员工列表
 */
export function companyList(params: any) {
  return http.request<BasicResponseModel>({
    url: '/api/company/list',
    method: 'GET',
    params
  })
}
